import 'package:dailoz/generated/json/base/json_field.dart';
import 'package:dailoz/generated/json/task_time_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class TaskTimeEntity {
	late int hours;
	late int minutes;

	TaskTimeEntity();

	factory TaskTimeEntity.fromJson(Map<String, dynamic> json) => $TaskTimeEntityFromJson(json);

	Map<String, dynamic> toJson() => $TaskTimeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}